package com.kgcx.common.annotation.validator;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by Administrator on 2017/2/20.
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Validator {

    StringValidator[] string() default {};

    NumberValidator[] number() default {};

    PhoneValidator[] phone() default {};

    DateValidator[] date() default {};

    ServiceValidator[] service() default {};
}
